package com.pd.backend.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 缓冲路线表(PdCacheLine)实体类
 *
 * @author GuoXinChao.126@gmail.com
 * @since 2023-02-27 17:11:13
 */
public class PdCacheLine implements Serializable {
    private static final long serialVersionUID = -88496382578293062L;
    /**
     * id
     */
    private String id;
    /**
     * 起始机构
     */
    private String startAgencyId;
    /**
     * 终点机构
     */
    private String endAgencyId;
    /**
     * 验证是否可用key,md5(子表的起始相加)
     */
    private String verifyKey;
    /**
     * 距离
     */
    private Double distance;
    /**
     * 成本
     */
    private Double cost;
    /**
     * 预计时间
     */
    private String estimatedTime;
    /**
     * 中转次数
     */
    private Integer transferCount;
    /**
     * 从1开始递增
     */
    private Integer version;
    /**
     * 是否是当前最新版本 0 否 1 是
     */
    private Integer isCurrent;
    /**
     * 创建时间
     */
    private Date createDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStartAgencyId() {
        return startAgencyId;
    }

    public void setStartAgencyId(String startAgencyId) {
        this.startAgencyId = startAgencyId;
    }

    public String getEndAgencyId() {
        return endAgencyId;
    }

    public void setEndAgencyId(String endAgencyId) {
        this.endAgencyId = endAgencyId;
    }

    public String getVerifyKey() {
        return verifyKey;
    }

    public void setVerifyKey(String verifyKey) {
        this.verifyKey = verifyKey;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getEstimatedTime() {
        return estimatedTime;
    }

    public void setEstimatedTime(String estimatedTime) {
        this.estimatedTime = estimatedTime;
    }

    public Integer getTransferCount() {
        return transferCount;
    }

    public void setTransferCount(Integer transferCount) {
        this.transferCount = transferCount;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIsCurrent() {
        return isCurrent;
    }

    public void setIsCurrent(Integer isCurrent) {
        this.isCurrent = isCurrent;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

}

